package com.mdd.admin.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("采购订单创建参数")
public class ProcureOrderCreateValidate   implements Serializable {

    private Long storeId;

    @NotNull(message = "spuId参数缺失")
    @ApiModelProperty(value = "商品id")
    private Long spuId;
    @NotNull(message = "spuId参数缺失")
    @ApiModelProperty(value = "商品id")
    private String name;
    @NotNull(message = "spuId参数缺失")
    @ApiModelProperty(value = "商品id")
    private String mobile;
    @ApiModelProperty(value = "商品id")
    private Integer number=1;
    @ApiModelProperty(value = "所在区域编码")
    private String area;


}
